package com.bingxue.edu.management.education.model.req;

import com.bingxue.edu.common.enums.OperateSourceEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * 点名信息
 *
 * @author zq
 * @since 2024/08/21 00:02
 */
@Data
@Schema(description = "点名请求")
public class LessonSignInReq {

    @Schema(description = "课次id")
    @NotBlank(message = "课次id不能为空")
    private String lessonId;

    @Schema(description = "学生id列表")
    @NotEmpty(message = "学生id列表不能为空")
    private List<String> studentIdList;

    @Schema(description = "点名方式")
    private OperateSourceEnum operateSource;
}
